﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.ProductionManagement
{
    /// <summary>
    /// 选种母
    /// </summary>
    public class Breedingmother : BaseEntity
    {
        /// <summary>
        /// 选种母ID
        /// </summary>
        [Key]
        public int BreedingmotherId { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string? Breed { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public string? Reproductivestate { get; set; }
        /// <summary>
        /// 羊只月龄
        /// </summary>
        public string? Sheepmonthsold { get; set; }
        /// <summary>
        /// 转入栋舍（外键）
        /// </summary>
        public int? CottageId { get; set; }
        /// <summary>
        /// 转入栏位（外键）
        /// </summary>
        public int? Field { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 羊只档案（外键）
        /// </summary>
        public int? SheepId { get; set; }
    }
}
